package model.world.tile;

import java.util.LinkedList;
import java.util.List;
import java.util.UUID;

import model.entity.Entity;
import model.entity.unit.Unit;
import model.inventory.item.Item;
import model.world.Chunk;

public class WoodTile extends Tile {
	private static final int collectionRate = 1;
	private static final int ResourceID = 3;
	private static final int InitialResources = 50;
	
	public WoodTile(long x, long y, Chunk parentChunk){
		super(x, y, new Tile[6], null, new LinkedList<Unit>(), ResourceType.WOOD, collectionRate, parentChunk, UUID.randomUUID());
		resources.add(new Item(ResourceID, InitialResources));
	}
	
	public WoodTile(long x, long y, Tile[] neighbors, Entity occupyingEntity, List<Unit> presentUnits, int resourcesRemaining, Chunk parentChunk, UUID GUID){
		super(x, y, neighbors, occupyingEntity, presentUnits, ResourceType.WOOD, collectionRate, parentChunk, GUID);
		resources.add(new Item(ResourceID, resourcesRemaining));
	}
	
	public void tick(){
		super.tick();
	}
}
